﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZDT.Task.Entity
{
    [Serializable]
    public class WorkItem<T>
    {
        public string Name { get; set; }
        public int Index { get; set; }
        public T Setting { get; set; }
        public List<object> Params { get; set; }
        public WorkItemType Type { get; set; }
    }

    public enum WorkItemType
    {
        Login,
        GetList,
        GetData,
        DownFile,
        Pulish,
        Refresh,
        Other
    }
}
